﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QLTVNEW.Report;

namespace QLTVNEW
{
    public partial class frmInTheDG : DevComponents.DotNetBar.Office2007Form
    {
        public frmInTheDG()
        {
            InitializeComponent();
        }

        public string maDG { get; set; }
        public string tenDG { get; set; }
        public string ngaySinh { get; set; }
        public string diaChi { get; set; }
        public string ngayLap { get; set; }
        public string ngayHH { get; set; }
        public string loaiDG { get; set; }
        private void frmInTheDG_Load(object sender, EventArgs e)
        {
            rptInTheDG rpt = new rptInTheDG();
            rpt.SetParameterValue("txtMaDG", maDG.ToString());
            rpt.SetParameterValue("txtTen", tenDG.ToString());
            rpt.SetParameterValue("txtNS", ngaySinh.ToString());
            rpt.SetParameterValue("txtDC", diaChi.ToString());
            rpt.SetParameterValue("txtNgayLap", ngayLap.ToString());
            rpt.SetParameterValue("txtHetHan", ngayHH.ToString());
            rpt.SetParameterValue("txtLoai", loaiDG.ToString());
            crystalReportViewer1.ReportSource=rpt;
        }
    }
}
